/* RESET */
.container {
    width:95%;
    max-width:1450px;
    margin:auto;
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial;
    background:#f8fafc;
    color:#0f172a;
}

/* PAGE */
.scholarships-page{
    width:100%;
    min-height:100vh;
    padding:40px 0;
}

/* LAYOUT */
.scholarships-layout{
    display:grid;
    grid-template-columns:260px 1fr 260px;
    gap:25px;
}

/* SIDEBAR */
.side-card{
    background:#fff;
    padding:25px;
    border-radius:20px;
    border:1px solid #e2e8f0;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.side-card h3{
    margin-bottom:10px;
    color:#0f172a;
}

.side-card p{
    margin-bottom:20px;
    line-height:1.8;
    color:#475569;
}

/* MAIN */
.main-content{
    width:100%;
}

/* HERO */
.hero{
    position:relative;
    height:260px;
    border-radius:25px;
    overflow:hidden;
    margin-bottom:30px;
    background:url("../uploads/backgrounds/default-background.jpg") center/cover;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(15,23,42,0.3);
}

.hero-text{
    position:relative;
    z-index:2;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:#fff;
}

.hero-text h1{
    font-size:42px;
}

.hero-text p{
    font-size:18px;
}

/* BUTTONS */
.country-list{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    justify-content:center;
    margin-bottom:30px;
}

.country-btn{
    padding:14px 22px;
    border:none;
    border-radius:50px;
    background:#fff;
    border:1px solid #dbeafe;
    cursor:pointer;
    font-weight:700;
    transition:0.3s;
}

.country-btn:hover,
.country-btn.active{
    background:#2563eb;
    color:#fff;
}

/* CARD */
.card{
    background:#fff;
    padding:35px;
    border-radius:25px;
    border:1px solid #e2e8f0;
    box-shadow:0 8px 30px rgba(0,0,0,0.06);
}

/* BOX */
.box{
    background:#f8fafc;
    padding:20px;
    margin-bottom:20px;
    border-radius:20px;
    border:1px solid #e2e8f0;
}

.box h3{
    color:#2563eb;
    margin-bottom:10px;
}

/* ADS */
.ads{
    border:2px dashed #cbd5e1;
}

/* RESPONSIVE */
@media(max-width:1200px){
    .scholarships-layout{
        grid-template-columns:1fr;
    }

    .side-card{
        display:none;
    }
}

@media(max-width:768px){
    .hero-text h1{
        font-size:28px;
    }

    .country-list{
        flex-direction:column;
    }

    .country-btn{
        width:100%;
    }
}